body {
    /*font: 12px Tahoma;*/
    padding-top: 2em;
    margin: 0px auto 32px auto;
    font: normal 14px Arial,Helvetica,San-serif;
    /*width: 960px;*/
    background-color: #ccc;
    word-wrap: break-word; word-break: break-all;
}

.sitename {
    font-weight: bold;
    font-size:36px;
    color:#1259C7;
}
img{
    max-width:100%!important;
    height:auto!important;
}
#nav{
    /*background-color: #D2D2FF;*/
    background: black;
    height: 33px;
    padding-left: 0px;
    text-align: left; 
    border: 1px solid gray;
    margin-left: 0px; 
    color: white;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#595C64', endColorstr='#1B1B1C');
background: -webkit-gradient(linear, left top, left bottom, from(#595C64), to(#1B1B1C));
background: -moz-linear-gradient(top, #595C64, #1B1B1C);
background: -o-linear-gradient(top, #595C64, #1B1B1C);    
}
#nav li {
    display: inline;
    position: relative;
    float: left;
    margin: 0 0 0 6px;
}

h4{
    border-bottom: 2px solid #ccc;
color: #222;
font-size: 16px;
font-weight: bold;
letter-spacing: 0.1em;
padding: 0 1em 0.5em;
margin: 0 -0.75em 1em;}

h1{
    line-height: 36px;
    font-size: 20px;
    text-shadow: 1px 1px 2px #DDD;
    border-bottom: 2px dotted #CBCBCB;

}

#container {
    max-width: 1000px;
    margin: 0px auto;
    /*background: #F8F8FF;*/
    background-color: #eee;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    /*-webkit-box-shadow: 0 0 18px #444;*/  
    /*box-shadow: 0 0 18px #444;*/
}



#header { 
  padding: 0px;
  background-position: top;
  background-repeat: repeat-x;
  background-color: white; 
   padding-bottom: 0px;
	-moz-border-radius: 5px;
	border-radius: 5px;   
}

.head {
    height:80px;
    margin-left: 0px;
background: #fff repeat-x 0% 0%; color: gray; padding-left: 20px; padding-top: 20px;
	-moz-border-radius: 5px;
	border-radius: 5px;   
}

.sitename a,.sitename a:visited {
	color: #111;
}

#nav a,#nav a:visited {
    color: #ffffff;
    font-size: 19px;
font-weight: 700;
}

#pagebody { 
    /*width:800px;*/
    background-color: #eee;
    margin: 2px auto; 
}

#sidebar {
	margin: 20px 20px 10px 10px;
    float: right; 
}
.sidebar {
    width: 248px; 
    text-align: left; 

    overflow: hidden; 
    margin: 0px 0px 15px 0px;
    border-bottom: 2px solid #ccc;
    padding: 10px;
    background: white;
    -moz-border-radius: 5px;
	border-radius: 5px;
}
/*
.sidebar ul{width:212px;overflow:hidden;zoom:1;}
.sidebar li{float:left;width:80px;padding-bottom:2px;margin: 0 0 0.5em 20px;}
*/
#mainbody {
    width: 660px;
    text-align: left;
    float: left; 
    overflow: hidden;
    padding: 0px 10px 10px 10px;
    display:block; 
    margin: 20px 1px 10px 20px;
    float: left; 
    /*background: white;*/
    -moz-border-radius: 5px;
	border-radius: 5px;
}

.wrapcontent {
    display:block;
    width: 650px;
    overflow: auto;
}

#adcontent {
    display:block;
    width: 650px;
    overflow: auto;
}


#footer {
    background-position: top;
    background-repeat: repeat-x;
    margin: 0 auto;
    clear: both;
    text-align: center;
    font-size: 14px;
    padding: 8px;

}

#footer a {
    /*color: #FFFFFF;*/
}



a {
    color: #069;
    text-decoration: none;
    /*font-size: 12px;*/
}

a:visited {
    color: #069;
}

a:active {
    color: #1259C7;
}

a:hover {
    text-decoration: underline;
}

.bfont{
	font-weight: bold;
	font-size: 18px;
	margin-left: 5px;
	width: 800px;
	float: right;	
}

#sub {
    margin: 10px 0 0.5em 20px;
}
#sub a {
    color: white;
}



.cbody {
    margin: 15px 15px 50px 15px;
    word-wrap: break-word; word-break: break-all;
}




h1, h2, h3, h4 {
    margin-top: 0;
    margin-bottom: 0;
}

h3 {
        border-bottom: 2px dotted #CBCBCB;
}


ul {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    /*font-size: 12px;*/
    font-style: normal;
    /*line-height: 2em;*/
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    /*color: #00CC33;*/
    text-decoration: none;
    /*background-color: #CCCCCC;*/
    text-indent: 5px;
    list-style-position: outside;
    /*list-style-image: url(arrow.gif);*/
    list-style-type: disc;
    padding: 2px;
    margin: 2px;
}

li { 
    margin-left: 10px;
    padding-bottom: 2px;
    margin: 0 0 0.5em 30px;
}


.copy {
    font-size: 12px;
    padding: 10px;
}

em {
    color: #C03;
    font-style: normal;
    font-weight: normal;    
}

.google {
    display: block;
    text-indent: -9999px;
    width: 32px;
    height: 32px;
    background: url(../images/social_meida.png) no-repeat;
    -webkit-transition: .1s ease-in;
    -moz-transition: .1s ease-in;
    -o-transition: .2s ease-in;
    transition: .1s ease-in;
    background-position: 0 -32px;
}

.rss {
    display: block;
    text-indent: -9999px;
    width: 32px;
    height: 32px;
    background: url(../images/social_meida.png) no-repeat;
    -webkit-transition: .1s ease-in;
    -moz-transition: .1s ease-in;
    -o-transition: .2s ease-in;
    transition: .1s ease-in;
    background-position: 0 0;
}



#sub li {
    display: inline;
    float: left;
    width: 32px;
    height: 32px;
    margin: 0 14px 0 0;
}

#updt {
    font-size: 12px; 
    float:right; 
    color:gray;
    /*background: #6E7D8E;*/
    font-weight: normal;
    line-height: 15px;    
    border-radius: 5px;
    -moz-bordr-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    padding: 2px 5px 2px 5px;
}
.itemOrigin {
font-size: 10pt;
color: gray;
}

.tagCloud {
font-size: 24px;
line-height: 1.0em;
text-align: center;
}

.tagCloud li {
display: inline;
margin: 0px;
padding: 0px;
white-space: nowrap;
}
.sidebar li {
padding-bottom: 2px;
margin: 0 0 0px 20px;
}

 div#fixedmsg{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100px;
 }
 
 .topic	{ 
 margin: 0 0 10px -10px; 
 padding: 8px 10px; 
 background-color: #f0f0f0;  
 border-radius: 5px; 
 -moz-border-radius: 5px; 
 }
 
 .inbody {
	margin: 0px 15px 0px 15px;
	background-color: #fff;  
	border-radius: 5px; 
	-moz-border-radius: 5px; 
	padding: 0px 15px 0px 15px;
	width:600px;
	overflow: hidden;
	word-wrap: break-word; word-break: break-all;
 }

 .afterTitle {
	margin: 0px 5px 0px 5px;
	background-color: #fff;  
	border-radius: 5px; 
	-moz-border-radius: 5px; 
	padding: 0px 5px 0px 5px;
	width:400px;
	overflow: hidden;
 }
    .post{
		background-color: #fff;
		border-bottom: 2px solid #ccc;
		-moz-border-radius: 5px;
		border-radius: 5px;
		margin: 0 0 1em;
		padding: 0.5em 5% 2em;
		position: relative;
		width: auto;    
    }
    #postbody{
		background-color: #fff;
		padding: 0.5em 5% 2em;
		border-bottom: 2px solid #ccc;
		-moz-border-radius: 5px;
		border-radius: 5px;
    }
    .relate{
    	margin-top: 2em;
    }
.feed{  
	background-color: #fff;
	border-bottom: 2px solid #ccc;
	-moz-border-radius: 5px;
	border-radius: 5px;
	margin: 0 0 2em;
	padding: 0.5em 1% 2em;
	position: relative;
	width: auto;
}
#toplink{
	margin: 1em 1em 0 1em;
}
#site_nav ul {
	width: auto;
	width: 100%;
	margin: 0;
	padding: 0;
	line-height: 1em;
	list-style: none;
}
#site_nav li {
	display: inline;
	list-style: none;
	margin: 0;
	padding: 3px 10px 3px 10px;
	line-height: 1em;
	border-right: 1px solid #aaa;
}
#site_nav li:last-child {
	border-right: none;
}

.sourceTitle{
width: 168px;
display: -moz-inline-box;
display: inline-block;
font-size: 10pt;
color: gray;
float: left;
text-align: left;
}

/*------------------------------------*\
    MOBILE
\*------------------------------------*/
@media (max-width: 810px){
    body{
        padding:5px;
        width:auto;
        -webkit-text-size-adjust:none;
    }
    #header{
        margin-right:0!important;
    }
    #header div{
        position:static;
    }
    #logo a{
        margin:0 auto 24px auto;
        float:none;
    }
    div{
        clear:both!important;
        /*display:block!important;*/
        width:auto!important;
        float:none!important;
        /*padding:0!important;*/
        margin:1px 0px 1px!important;
    }
    #nav{
        width:auto;
        text-align:center;
    }
    .navigation{
        padding:0!important;
    }
    .marginalia,.post-date,.comment-author{
        width:auto;
        float:none;
        margin-left:0;
        text-align:center;
    }
    p.marginalia{
        font-style:italic;
        text-align:center;
    }
    img{
        max-width:100%!important;
        height:auto!important;
    }
    img.full,
    img.left,
    #ad img{
        margin-left:0;
    }
    h1{
        margin:0 0 24px 0;
        width:auto;
        padding:0;
    }
    blockquote,pre,.outdent{
        margin:0 0 24px 0;
        white-space:pre-wrap;  
	    white-space:-moz-pre-wrap;  
	    white-space:-pre-wrap;  
	    white-space:-o-pre-wrap;  
	    word-wrap:break-word;  
    }
    blockquote p{
        padding-left:0.5em;
    }
    .hr{
        margin-left:0;
    }
    fieldset,
    textarea{
        width:auto!important;
    }
    .bsap,#bsap_aplink,#footer{
        text-align:center;
        padding:10px 0!important;
    }
    #smashing-network{
        margin:0 auto 24px auto;
        float:none;
    }
    #smashing-network img{
        display:block;
    }
	table{
		width:auto !important;
	}

}